import React, { PureComponent } from 'react';

class App extends PureComponent {
  render() {
    const pStyle = {
      color: "orange",
      textDecoration: "underline"
    }

    return (
      <div>
        <h2 style={{fontSize: "50px",color: "#aaa"}}>我是标题 </h2>
        <p style={pStyle}>我是一段文字</p>
      </div>
    );
  }
}

export default App;